package demo;

public class Demo2 {
    public static void main(String[] args) {
        int[] arr = {1,2,3,4,5,6,7,8};


        int[][] arr2 = {
                {1,2,3},
                {2,3,4}
        };


        System.out.println(arr.length);


        fun1();

        fun2(100);
        fun2(100,200);
        System.out.println(fun3(100,200));
    }


   static void fun1(){
        System.out.println("fun1......");
    }

    static void fun2(int num1){
        System.out.println("fun2()"+num1);
    }

    static void fun2(int num1,int numn2){
        System.out.println("fun2()"+num1);
    }


    static int fun3(int num1,int num2){
       return num1+num2;
    }
}
